package com.choichumgming.rentcat.mapper;

import com.choichumgming.rentcat.model.AmsArticle;
import com.choichumgming.rentcat.model.AmsArticleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AmsArticleMapper {
    long countByExample(AmsArticleExample example);

    int deleteByExample(AmsArticleExample example);

    int deleteByPrimaryKey(Long articleId);

    int insert(AmsArticle record);

    int insertSelective(AmsArticle record);

    List<AmsArticle> selectByExample(AmsArticleExample example);

    AmsArticle selectByPrimaryKey(Long articleId);

    int updateByExampleSelective(@Param("record") AmsArticle record, @Param("example") AmsArticleExample example);

    int updateByExample(@Param("record") AmsArticle record, @Param("example") AmsArticleExample example);

    int updateByPrimaryKeySelective(AmsArticle record);

    int updateByPrimaryKey(AmsArticle record);
}